import request from '@/utils/request'

export function companyList() {
  return request({
    url: '/companyInfo/info',
    method: 'get',

  })
}
export function companyInfo(data) {
  return request({
    url: '/companyInfo/update',
    method: 'post',
    data
  })
}
//部门列表
export function list(params) {
  return request({
    url: '/dept/list',
    method: 'get',
    params
  })
}
//部门列表编辑
export function saveOrUpdate(data) {
  return request({
    url: '/dept/saveOrUpdate',
    method: 'post',
    data
  })
}
//部门列表删除
export function remove(data) {
  return request({
    url: 'dept/remove',
    method: 'post',
    data
  })
}
// 获取开通记录
export function kList(params) {
  return request({
    url: '/order/list',
    method: 'get',
    params
  })
}
